using System.Text;

namespace PopMail
{
    public class POP3ServerResponse
    {
        private bool m_success;
        private string m_message;
        private StringBuilder m_response;

        public POP3ServerResponse(bool success,string message,StringBuilder response)
        {
            this.m_success = success;
            this.m_message = message;
            this.m_response = response;
        }

        public bool CommandStatus
		{
			get { return m_success; }
		}
        
        public string ServerMessage
		{
			get { return m_message; }
		}

        public StringBuilder ServerResponse
        {
            get { return m_response; }
        }

        public void Dispose()
        {
            this.m_success = false;
            this.m_message = null;
            this.m_response = null;

        }
    }

}
